package com.bean.entity;

import java.io.Serializable;

/**
 * User: 刘文雄
 * Date:2022/3/28 15:08
 * 市实体类
 */
public class City implements Serializable {
    private Integer id;
    private String cityName;

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", cityName='" + cityName + '\'' +
                '}';
    }

    public City(Integer id) {
        this.id = id;
    }

    public City(String cityName) {
        this.cityName = cityName;
    }

    public City(Integer id, String cityName) {
        this.id = id;
        this.cityName = cityName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
}
